package com.webflux.demo.dao;

import com.webflux.demo.bean.User;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import reactor.core.publisher.Flux;

/**
 * @author H
 * @date 2023/1/15
 */
// @Repository
public interface UserRepository extends ReactiveMongoRepository<User, Long> {

    Flux<User> findByUsernameLike(String username);

}
